#include <stdio.h>
#include <stdlib.h>
#include "bitree.h"

#define MAXSIZE 1024

	int main()
{
	tree_st *list = NULL;
	char b = 'A';
	Datatype a[MAXSIZE] = {0};
	fgets(a,MAXSIZE,stdin);

	bitree_create(&list,a);
	
	bitree_prdisplay(list);
	printf("\n");
	bitree_middisplay(list);
	printf("\n");
	bitree_postdisplay(list);

	bitree_delete(list,&b);
	bitree_middisplay(list);
	exit(0);
}
